#!/bin/bash



for i in `seq 1 2 9`
  do
      echo $i
      if [ $i -eq 5 ]
        then
          break
      fi
done



echo "点击Enter按钮进行退出"
read
exit